package com.its.oa.model;



/**
 * PermissionRole entity. @author MyEclipse Persistence Tools
 */

public class PermissionRole  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
     private Role role;
     private Permission permission;
     private String btnids;


    // Constructors

    /** default constructor */
    public PermissionRole() {
    }

    
    /** full constructor */
    public PermissionRole(Role role, Permission permission, String btnids) {
        this.role = role;
        this.permission = permission;
        this.btnids = btnids;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Role getRole() {
        return this.role;
    }
    
    public void setRole(Role role) {
        this.role = role;
    }

    public Permission getPermission() {
        return this.permission;
    }
    
    public void setPermission(Permission permission) {
        this.permission = permission;
    }

    public String getBtnids() {
        return this.btnids;
    }
    
    public void setBtnids(String btnids) {
        this.btnids = btnids;
    }
   








}